package com.mo.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * cdn相关配置
 *
 * @author lizhihao
 * @date 2018-07-17 17:47
 */
@Configuration
@ConfigurationProperties(prefix = JSchProperties.JSCH_PREFIX)
public class JSchProperties {
	public static final String JSCH_PREFIX = "baseInfo.jsch";
	
	private String hostname;
	
	private Integer port;
	
	private String username;
	
	private String password;
	
	private String keyFilePath;
	
	private String keyFilePassword;

	public String getHostname() {
		return hostname;
	}

	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getKeyFilePath() {
		return keyFilePath;
	}

	public void setKeyFilePath(String keyFilePath) {
		this.keyFilePath = keyFilePath;
	}

	public String getKeyFilePassword() {
		return keyFilePassword;
	}

	public void setKeyFilePassword(String keyFilePassword) {
		this.keyFilePassword = keyFilePassword;
	}

	public static String getJschPrefix() {
		return JSCH_PREFIX;
	}
	
	
}
